<template>
  <div class="main-body">
    <router-view v-slot="{ Component }">
      <transition>
        <component :is="Component" class="com-transition"></component>
      </transition>
    </router-view>
  </div>
</template>

<script setup lang="ts"></script>

<style lang="scss" scoped>
.main-body {
  height: 100%;
}

</style>
